/**
 * FileName: AvoidReSubmit
 * Author:   Adinnet
 * Date:     2021/11/30
 * Description:
 */
package com.adinnet.api.common.utils;

import java.lang.annotation.*;

/**
 * 〈〉
 * @author Adinnet
 * @create 2021/11/30
 */
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AvoidReSubmit {
    /**
     * 失效时间，即可以第二次提交间隔时长
     * @return
     */
    long expireTime() default 30 * 1000L;
}
